﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace QuanLyTiemNET_DEV_LINQ
{
    public partial class XtraFormDoanhThuNam : DevExpress.XtraEditors.XtraForm
    {
        public XtraFormDoanhThuNam()
        {
            InitializeComponent();
        }

        private void XtraFormDoanhThuNam_Load(object sender, EventArgs e)
        {
            XtraReportDoanhThuNam dtn = new XtraReportDoanhThuNam();
            dtn.paraNam.Value = DateTime.Now.Year;
            documentViewer1.PrintingSystem = dtn.PrintingSystem;
            dtn.CreateDocument();
        }
    }
}